/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package org.abc;

/**
 * <p>Project: jse2303 - Op2
 * <p>Powered by webrx On 2023-07-06 16:07:20
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Op2 {
    public static void main(String[] args) {
        //赋值运算符 += -= *= /= %= =
        byte i = 3;

        i = 3 * 6; //18

        i += 2; //相当于i = i + 2;  //20
        System.out.println(i);

        i = (byte) (i + 2);
        System.out.println(i);//22


    }
}
